<template>
    <div>
        <storeOrderViews v-if="loading" :id="id" @goBack="goBack"></storeOrderViews>
    </div>
</template>

<script>
    import storeOrderViews from './components/storeOrderViews.vue'
	export default {
		layout: 'admin',
        components:{
            storeOrderViews
        },
		head() {
			return {
				title: '出库单详情' 
			}
		},
		data() {
			return {
                loading: false,
                id: 0
            }
        },
        mounted() {
            this.id = this.$route.query.id
            this.loading = true
        },
        methods: {
            goBack() {
                window.close();
            }
        }
    }
</script>

<style lang="scss" scoped>
    
</style>
